package com.liefox.service;

import com.liefox.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import sun.security.util.Password;

import java.util.List;



public interface UserService {
    /*注册*/
    public int Signup(User user);

    /*登录*/
    public User Signin(User user);

    /*获取用户名*/
    public String getUserName(String Email,String Password);

    /*根据邮箱重置密码*/
    public int recPw(String Email,String Password);

    /*获取用户信息*/
    public User getUserInfo(String Email);

    /*修改用户信息*/
    public int updateUserInfo(User user);

    /*获取医生信息*/
    public List<User> getUser();

    /*修改密码*/
    public int upPw(String Email, String Password);



}
